<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    {{seo}}
    <title>{{$title}}</title>
    <meta name="keyword" content="{{$keyword}}" />
    <meta name="description" content="{{$describe}}" />
    {{/seo}}
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/reset.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/swiper_2.7.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/header.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/footer.css">
    <link rel="stylesheet" href="{{$static_path}}/static/css/college/list_college-statute.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/common.css">
    <script src="{{$static_path}}/static/common/js/jquery-1.11.3.js"></script>
    <script src="{{$static_path}}/static/common/js/swiper_2.7.js"></script>
</head>

<body>
    <!-- 头部部分 -->
    {{include file="header.tpl"}}
    <!-- 内容区域 -->
    <div class="dh-main">
        <div class="college-banner"></div>
        <div class="main-content">
            <div class="main-left">
                <div class="dh-top1">
                    <p class="h-top">期货学院</p>
                </div>
                <ul class="dh-list">
                    {{navigation parentid="8"}}
                        {{foreach $list as $k => $v}}
                            <li> <a href="{{$v['url']}}" {{if $get.category|in_array:$v['allchildurl']}}class="dh-acitve"{{/if}}>{{$v['name']}}</a></li>
                        {{/foreach}}
                    {{/navigation}}
                </ul>
            </div>
            <div class="main-right">
                <div class="right-txt-box">
                    <h1>政策法规</h1>
                    <div class="wz">
                        <span class="wz-span">您的位置：<a href="">首页</a> > <a href="">期货学院</a> ><a href="">政策法规</a> </span>
                    </div>
                </div>
                <!-- 右侧的内容 -->
                <div class="box-txt">
                    <div class="zs-tabs">
                        {{navigation parentid="12"}}
                            {{foreach $list as $k => $v}}
                                <p {{if $get.category|in_array:$v['allchildurl']}}class="zs-acitve"{{/if}}>
                                    <a href="{{$v['url']}}">{{$v['name']}}</a>
                                </p>
                            {{/foreach}}
                        {{/navigation}}
                    </div>
                    <div class="list-tabs">
                        {{content category=$smarty.get.category pageSize=9 pageArgs=[3,4,5,6,7]}}
                        {{counter start=0 skip=1 print=false}}
                        <div class="tabs1-active">
                            <ul class="zs-list-tabs">
                                {{if count($list) > 0}}
                                <li>
                                    {{if count($list) > 0}}
                                    <div>
                                        <span>{{counter}}</span> 
                                        <a href="{{$list[0]['url']}}">{{$list[0]['title']}}</a>
                                    </div>
                                    {{/if}}
                                    {{if count($list) > 1}}
                                    <div>
                                        <span>{{counter}}</span> 
                                        <a href="{{$list[1]['url']}}">{{$list[1]['title']}}</a>
                                    </div>
                                    {{/if}}
                                    {{if count($list) > 2}}
                                    <div>
                                        <span>{{counter}}</span> 
                                        <a href="{{$list[2]['url']}}">{{$list[2]['title']}}</a>
                                    </div>
                                    {{/if}}
                                </li>
                                {{/if}}
                                {{if count($list) > 3}}
                                <li>
                                    {{if count($list) > 3}}
                                    <div>
                                        <span>{{counter}}</span> 
                                        <a href="{{$list[3]['url']}}">{{$list[3]['title']}}</a>
                                    </div>
                                    {{/if}}
                                    {{if count($list) > 4}}
                                    <div>
                                        <span>{{counter}}</span> 
                                        <a href="{{$list[4]['url']}}">{{$list[4]['title']}}</a>
                                    </div>
                                    {{/if}}
                                    {{if count($list) > 5}}
                                    <div>
                                        <span>{{counter}}</span> 
                                        <a href="{{$list[5]['url']}}">{{$list[5]['title']}}</a>
                                    </div>
                                    {{/if}}
                                </li>
                                {{/if}}
                                {{if count($list) > 6}}
                                <li>
                                    {{if count($list) > 6}}
                                    <div>
                                        <span>{{counter}}</span> 
                                        <a href="{{$list[6]['url']}}">{{$list[6]['title']}}</a>
                                    </div>
                                    {{/if}}
                                    {{if count($list) > 7}}
                                    <div>
                                        <span>{{counter}}</span> 
                                        <a href="{{$list[7]['url']}}">{{$list[7]['title']}}</a>
                                    </div>
                                    {{/if}}
                                    {{if count($list) > 8}}
                                    <div>
                                        <span>{{counter}}</span> 
                                        <a href="{{$list[8]['url']}}">{{$list[8]['title']}}</a>
                                    </div>
                                    {{/if}}
                                </li>
                                {{/if}}
                            </ul>
                            <!-- 分页 -->
                            <div class="dywPages">
                                {{$pageInfo['html']}}
                            </div>
                        </div>
                        {{/content}}
                        </div>
                        </div>
                    
                    </div>

                </div>
                <div>
                </div>

            </div>

        </div>


    </div>

    <!--放一个id为footer的div,把footer.html加载到这块-->
    {{include file="footer2.tpl"}}
    <!-- 底部部分 -->
</body>

<!-- 加载头尾 -->

<script src="{{$static_path}}/static/common/js/load.js"></script>

<script>

    // $('.zs-tabs>p').click(function () {
    //     $(this).addClass('zs-acitve').siblings().removeClass('zs-acitve')
   
    // })
    // $(".zs-tabs>p").each(function (v, i) {
    //     $this = $(this);
    //     if( parseInt(window.location.href.indexOf($this.find('a').attr('href'))) > 0 ){
    //         $this.addClass("zs-acitve");
    //     }
    // })
</script>

</html>